/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.powerhua.core.utils;

/**
 *
 * @author Administrator
 */
public class StringUtil {
    
    public static boolean isNull(String source) {
        if(source == null) {
            return true;
        } else {
            return false;
        }
    }
    
    public static boolean isEmpty(String source) {
        if("".equals(source)) {
            return true;
        } else {
            return false;
        }
    }
    
    public static boolean isNullOrEmpty(String source) {
        if(source == null || "".equals(source)) {
            return true;
        } else {
            return false;
        }
    }

}
